<?php /* Smarty version Smarty-3.1.21, created on 2015-06-01 18:57:43
         compiled from "D:\mywamp\www\2015php\wenda\Admin\View\main\index.html" */ ?>
<?php /*%%SmartyHeaderCode:7046556c3aa796d698-44755319%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6507f198ab72dbbbc1c839a10f8a67660b702864' => 
    array (
      0 => 'D:\\mywamp\\www\\2015php\\wenda\\Admin\\View\\main\\index.html',
      1 => 1433120831,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7046556c3aa796d698-44755319',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'copy' => 0,
    'record' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.21',
  'unifunc' => 'content_556c3aa7c057a9_04761270',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_556c3aa7c057a9_04761270')) {function content_556c3aa7c057a9_04761270($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
后台首页</title>
	<link rel="stylesheet" href="<?php echo @constant('__PUBLIC__');?>
/css/admin.css" />
	<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo @constant('__PUBLIC__');?>
/js/jquery-1.7.2.min.js"><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo @constant('__PUBLIC__');?>
/js/admin.js"><?php echo '</script'; ?>
>
<!-- 默认打开目标 -->
<base target="iframe"/>
</head>
<body>
<!-- 头部 -->
	<div id="top_box">
		<div id="top">
			<p id="top_font"><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
 1.0</p>
			<ul id="menu2" class="menu">
				<li>
					<a href="<?php echo @constant('__ROOT__');?>
/index.php" target="_parent">前台首页</a>
				</li>
				<li><a href="<?php echo @constant('__APP__');?>
?c=category">查看栏目</a></li> 
				<li><a href="<?php echo @constant('__APP__');?>
?c=member">用户列表</a></li>
				<li><a href="<?php echo @constant('__APP__');?>
?c=sysinfo">网站配置</a></li>				
			</ul>
		</div>
		<div class="top_bar">
			<p class="adm">
					<span>超级</span>
				管理员：
				<span class="adm_pic">&nbsp&nbsp&nbsp&nbsp</span>
				<span style="color:red;font-weight: 700;"><?php echo $_SESSION['aname'];?>
</span>
			</p>
			<p class="now_time">
				今天是：<?php echo smarty_modifier_date_format(time(),"%Y-%m-%d");?>

				星期<?php if (smarty_modifier_date_format(time(),"%w")==0) {?> 日 <?php } else {
echo smarty_modifier_date_format(time(),"%w");
}?>| 
				您的当前位置是：
				<span>首页</span>
			</p>
			<p class="out">
				<span class="out_bg">&nbsp&nbsp&nbsp&nbsp</span>&nbsp
				<a href="<?php echo @constant('__APP__');?>
?c=main&a=out" target="_self">退出</a>
			</p>
		</div>
	</div>
<!-- 左侧菜单 -->
		<div id="left_box">
			<p class="use">常用菜单</p>

			 <div class="menu_box">
				<h2>用户管理</h2>
				<div class="text">
					<ul class="con">
				        <li class="nav_u">
				        	<a href="<?php echo @constant('__APP__');?>
?c=member" class="pos">用户的列表</a>				        	
				        </li> 
				    </ul>
				</div>
			</div>

			<div class="menu_box">
				<h2>问题管理</h2>
				<div class="text">
					<ul class="con">
				        <li class="nav_u">
				        	<a href="<?php echo @constant('__APP__');?>
?c=ask" class="pos">所有的问题</a>
				        </li>
				    </ul>
				    <ul class="con">
				    	<li class="nav_u">
				    		<a href="<?php echo @constant('__APP__');?>
?c=ask&a=getnosolve" class="pos">待解决问题</a>
				    	</li>
				    </ul>
				    <ul class="con">
				    	<li class="nav_u">
				    		<a href="<?php echo @constant('__APP__');?>
?c=ask&a=solveed" class="pos">已解决问题</a>
				    	</li>
				    </ul>
				     <ul class="con">
				    	<li class="nav_u">
				    		<a href="<?php echo @constant('__APP__');?>
?c=ask&a=noanswer" class="pos">无回答问题</a>
				    	</li>
				    </ul>
				</div>
			</div>

			

			<div class="menu_box">
				<h2>回答管理</h2>
				<div class="text">
					<ul class="con">
				        <li class="nav_u">		        	
				        	<a href="<?php echo @constant('__APP__');?>
?c=answer" class="pos">所有的回答</a>
				        </li>
				    </ul>
				    <ul class="con">
				    	<li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=answer&a=noaccept" class="pos">未采纳回答</a></li>
				    </ul>
				     <ul class="con">
				    	<li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=answer&a=accept" class="pos">已采纳回答</a></li>
				    </ul>
				</div>
			</div>

			<div class="menu_box">
				<h2>问题分类</h2>
				<div class="text">
					<ul class="con">
				        <li class="nav_u">		        	
				        	<a href="<?php echo @constant('__APP__');?>
?c=category" class="pos">问题分类列表</a>
				        </li>
				    </ul>
				    <ul class="con">
				    	<li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=category&a=addtopcate" class="pos">添加顶级分类</a></li>
				    </ul>
				</div>
			</div>

			<div class="menu_box">
				<h2>奖励管理</h2>
				<div class="text">
					<ul class="con">
				        <li class="nav_u">		        	
				        	<a href="<?php echo @constant('__APP__');?>
?c=award&a=gold" class="pos">金币奖励规则</a>
				        </li>
				    </ul>
				    <ul class="con">
				    	<li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=award&a=level" class="pos">经验级别规则</a></li>
				    </ul>
				</div>
			</div>

			<div class="menu_box">
				<h2>系统管理</h2>
				<div class="text">
					
				    <ul class="con">
				        <li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=sysinfo"  class="pos">网站配置</a></li>
				    </ul>
				    <ul class="con">
				        <li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=sysinfo&a=pwd&aid=<?php echo $_SESSION['aid'];?>
"  class="pos">修改密码</a></li>
				    </ul>

				</div>
			</div>
			<div class="menu_box">
				<h2>后台用户管理</h2>
				<div class="text">
					<ul class="con">
				        <li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=adminuser"  class="pos">用户列表</a></li>
				    </ul>
				    <ul class="con">
				        <li class="nav_u"><a href="<?php echo @constant('__APP__');?>
?c=adminuser&a=addadmin"  class="pos">添加用户</a></li>
				    </ul>
				</div>
			</div>
			
		</div>
		<!-- 右侧 -->
		<div id="right">
			<iframe  frameboder="0" border="0" 	scrolling="yes" name="iframe" src="<?php echo @constant('__APP__');?>
?c=main&a=welcome"></iframe>
		</div>
	<!-- 底部 -->
	<div id="foot_box">
		<div class="foot">
			<p>@Copyright © <?php echo $_smarty_tpl->tpl_vars['copy']->value;?>
 All Rights Reserved. <?php echo $_smarty_tpl->tpl_vars['record']->value;?>
</p>
		</div>
	</div>
<!--[if IE 6]>
    <?php echo '<script'; ?>
 type="text/javascript" src="./js/iepng.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
        DD_belatedPNG.fix('.adm_pic, #left_box .pos, .span_server, .span_people', 'background');
    <?php echo '</script'; ?>
>
<![endif]-->
</body>
</html><?php }} ?>
